<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>layout 后台大布局 - Layui</title>
    <link rel="stylesheet" href="./resource/js/plugin/layui/css/layui.css">
    <link rel="stylesheet" href="./resource/css/index.css">
    <link rel="stylesheet" href="./resource/css/layui-rest.css">
  </head>
  <body class="layui-layout-body">
    <div class="layui-layout layui-layout-admin">
      <div class="layui-header">
        <div class="layui-logo">layui 后台布局</div>
        <!-- 头部区域（可配合layui已有的水平导航） -->
        <ul class="layui-nav layui-layout-left">
          <li class="layui-nav-item"><a href="">控制台</a></li>
          <li class="layui-nav-item"><a href="">商品管理</a></li>
          <li class="layui-nav-item"><a href="">用户</a></li>
          <li class="layui-nav-item">
            <a href="javascript:;">其它系统</a>
            <dl class="layui-nav-child">
              <dd><a href="">邮件管理</a></dd>
              <dd><a href="">消息管理</a></dd>
              <dd><a href="">授权管理</a></dd>
            </dl>
          </li>
        </ul>
        <ul class="layui-nav layui-layout-right">
          <li class="layui-nav-item">
            <a href="javascript:;">
              <img src="http://t.cn/RCzsdCq" class="layui-nav-img"> 贤心
            </a>
            <dl class="layui-nav-child">
              <dd><a href="">基本资料</a></dd>
              <dd><a href="">安全设置</a></dd>
            </dl>
          </li>
          <li class="layui-nav-item"><a href="">退出(exit)</a></li>
        </ul>
      </div>

      <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
          <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
          <ul class="layui-nav layui-nav-tree" lay-filter="demo">
            <li class="layui-nav-item layui-nav-itemed">
              <a class="" href="javascript:;">所有商品1</a>
              <dl class="layui-nav-child">
                <dd><a lay-id="1" data-url="./page/page1.html" data-id="1" href="javascript:;">列表一</a></dd>
                <dd><a lay-id="2" data-url="./page/page2.html" data-id="2" href="javascript:;">列表二</a></dd>
              </dl>
            </li>
            <li class="layui-nav-item"><a href="javascript:;">云市场</a></li>
            <li class="layui-nav-item"><a href="javascript:;">测试666</a></li>
          </ul>
        </div>
      </div>

      <div class="layui-body">
        <!-- 内容主体区域 -->
        <div class="layui-tab layui-tab-card" lay-filter="demo" data-isClose="true">
          <ul class="layui-tab-title"></ul>
          <div class="layui-tab-content"></div>
        </div>
      </div>
      <div class="layui-footer">
        <!-- 底部固定区域 -->
      </div>
      <!-- loading -->
      <div id="loading">
        <div class="loading_background"></div>
        <div id="progressBar" class="progressBar">数据加载中,请稍等....</div>
      </div>
    </div>
    <script src="./resource/js/plugin/layui/layui.js"></script>
    <script src="./resource/js/vender/jquery.js"></script>
    <script>
      // 加载首页模块
      $(function() {
        // 配置layui模块路径
        layui.config({
          base: 'resource/js/xbzxModule/'
        }).extend({
          index: 'index'
        });
        // 页面初始化配置参数
        layui.use('index', function() {
          var index = layui.index;
          index.set({
            type: 'page'
          }).init()
        })
      })
    </script>
  </body>

</html>